package com.dailyblue.example.spring.aop.xml;

import com.dailyblue.example.spring.aop.xml.target.FirstTarget;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
        FirstTarget target = context.getBean("proxy",FirstTarget.class);
        target.findById(2);
    }
}
